const TOKEN_KEY = 'TOKEN_KEY'
export const getToken = () => {
  return localStorage.getItem(TOKEN_KEY)
}
export const setToken = (token) => {
  localStorage.setItem(TOKEN_KEY, token)
}
export const removeToken = () => {
  localStorage.removeItem(TOKEN_KEY)
}
export const hasToken = () => {
  return !!getToken()
}
